package o;

import com.huawei.gamebox.plugin.gameservice.bean.GameInfo;
import com.huawei.gamebox.plugin.gameservice.bean.PlayerInfo;

public class eyq extends eyu {
    public static final String APIMETHOD = "client.gs.addGamePlayerInfo";
    private PlayerInfo playerInfo_;

    public eyq(GameInfo gameInfo) {
        super(gameInfo);
    }

    public static eyq ˎ(GameInfo gameInfo, PlayerInfo playerInfo, String str, String str2) {
        if (gameInfo == null || playerInfo == null) {
            return null;
        }
        eyq o_eyq = new eyq(gameInfo);
        o_eyq.setMethod_(APIMETHOD);
        o_eyq.targetServer = "jxs.url";
        o_eyq.setStoreApi("gbClientApi");
        playerInfo.ˋ(str);
        playerInfo.ˏ(str2);
        playerInfo.ʽ(gameInfo.getPackageName());
        o_eyq.playerInfo_ = playerInfo;
        return o_eyq;
    }
}
